/**
 * 
 */
package ar.edu.unq.agenda.ui;

import org.uqbar.arena.Application;
import org.uqbar.arena.windows.Window;
import org.uqbar.commons.model.Search;
import org.uqbar.commons.model.SearchByExample;

import ar.unq.edu.agenda.domain.Contact;
import ar.unq.edu.agenda.home.Agenda;

/**
 * @author nicolas
 *
 */
public class AgendaApp extends Application {

	@SuppressWarnings("unchecked")
	@Override
	protected Window<?> createMainWindow() {
		return new ContactSearchWindow(this,new SearchByExample<Contact>(Agenda.getHome(Contact.class))) ;
		
	}

}
